+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+1999-03-18 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
+
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): As a hash function should have
+ just one parameter.
+
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
+
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
+
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
+
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk patchs to gdk
+ headers.
+
Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init_check): tell people that they don't really
/*
* This routine allows you to merge (ie ADD) child shapes to your
- * own window's shape keeping its current shape and ADDING the shild
+ * own window's shape keeping its current shape and ADDING the child
* shapes to it.
*
* - Raster
gint width,
gint height,
gint depth);
+#if GDK_WINDOWING == GDK_WINDOWING_WIN32
+GdkPixmap* gdk_pixmap_create_on_shared_image
+ (GdkImage **image_return,
+ GdkWindow *window,
+ GdkVisual *visual,
+ gint width,
+ gint height,
+ gint depth);
+#endif
GdkBitmap* gdk_bitmap_create_from_data (GdkWindow *window,
const gchar *data,
gint width,
GdkVisual *visual,
gint width,
gint height);
+#if GDK_WINDOWING == GDK_WINDOWING_WIN32
+GdkImage* gdk_image_bitmap_new(GdkImageType type,
+ GdkVisual *visual,
+ gint width,
+ gint height);
+#endif
GdkImage* gdk_image_get (GdkWindow *window,
gint x,
gint y,
gint gdk_color_parse (const gchar *spec,
GdkColor *color);
-guint gdk_color_hash (const GdkColor *colora,
- const GdkColor *colorb);
+guint gdk_color_hash (const GdkColor *colora);
gint gdk_color_equal (const GdkColor *colora,
const GdkColor *colorb);
/* Threading
*/
-extern GMutex *gdk_threads_mutex;
+GDKVAR GMutex *gdk_threads_mutex;
void gdk_threads_enter (void);
void gdk_threads_leave (void);
}
guint
-gdk_color_hash (const GdkColor *colora,
- const GdkColor *colorb)
+gdk_color_hash (const GdkColor *colora)
{
return ((colora->red) +
(colora->green << 11) +
image->mem = private->ximage->data;
image->bpl = private->ximage->bytes_per_line;
- image->bpp = private->ximage->bits_per_pixel;
+ if (private->ximage->bits_per_pixel <= 8)
+ image->bpp = 1;
+ else if (private->ximage->bits_per_pixel <= 16)
+ image->bpp = 2;
+ else if (private->ximage->bits_per_pixel <= 24)
+ image->bpp = 3;
+ else
+ image->bpp = 4;
image->byte_order = private->ximage->byte_order;
return image;
#else
/* Compiling as a part of Gtk 1.1 or later */
-#include "../config.h"
-#include "gdk.h"
+#include "config.h"
+#include <gdk/gdk.h>
#include "gdkprivate.h"
#endif
-#include "gdkrgb.h"
+#include <gdk/gdkrgb.h>
typedef struct _GdkRgbInfo GdkRgbInfo;
gboolean mask_rgb, mask_bgr;
depth = image_info->visual->depth;
+#if defined (GDK_RGB_STANDALONE) || (GDK_WINDOWING == GDK_WINDOWING_X11)
bpp = ((GdkImagePrivate *)image)->ximage->bits_per_pixel;
+#elif GDK_WINDOWING == GDK_WINDOWING_WIN32
+ bpp = ((GdkVisualPrivate *) gdk_visual_get_system())->xvisual->bitspixel;
+#endif
byte_order = image->byte_order;
if (gdk_rgb_verbose)
else if (bpp == 32 && depth == 24 && vtype == GDK_VISUAL_TRUE_COLOR &&
(mask_rgb && byte_order == GDK_MSB_FIRST))
conv = gdk_rgb_convert_0888_br;
- else if (bpp == 32 && depth == 24 && vtype == GDK_VISUAL_TRUE_COLOR &&
+ else if (bpp == 32 && (depth == 32 || depth == 24) && vtype == GDK_VISUAL_TRUE_COLOR &&
(mask_rgb && byte_order == GDK_LSB_FIRST))
conv = gdk_rgb_convert_0888;
else if (bpp == 32 && depth == 24 && vtype == GDK_VISUAL_TRUE_COLOR &&
*/
#include <glib.h>
+#ifdef NATIVE_WIN32
+# ifdef GDK_COMPILATION
+# define GDKVAR __declspec(dllexport)
+# else
+# define GDKVAR extern __declspec(dllimport)
+# endif
+#else
+# define GDKVAR extern
+#endif
/* The system specific file gdkconfig.h contains such configuration
* settings that are needed not only when compiling GDK (or GTK)
/* Types of images.
* Normal: Normal X image type. These are slow as they involve passing
* the entire image through the X connection each time a draw
- * request is required.
+ * request is required. On Win32, a bitmap.
* Shared: Shared memory X image type. These are fast as the X server
* and the program actually use the same piece of memory. They
* should be used with care though as there is the possibility
* for both the X server and the program to be reading/writing
* the image simultaneously and producing undesired results.
+ * On Win32, also a bitmap.
+ * Shared Pixmap: Also a shared memory image, which also has a
+ * pixmap using the same memory. Used by gdk_imlib with the
+ * Win32 backend.
*/
typedef enum
{
GDK_IMAGE_NORMAL,
GDK_IMAGE_SHARED,
- GDK_IMAGE_FASTEST
+ GDK_IMAGE_FASTEST,
+ GDK_IMAGE_SHARED_PIXMAP
} GdkImageType;
/* Types of visuals.
GDK_DRAG_PROTO_XDND,
GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
* drags */
- GDK_DRAG_PROTO_NONE /* Not a valid drag window */
+ GDK_DRAG_PROTO_NONE, /* Not a valid drag window */
+ GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */
+ GDK_DRAG_PROTO_OLE2, /* The complex OLE2 dnd (not implemented) */
} GdkDragProtocol;
/* The color type.
}
guint
-gdk_color_hash (const GdkColor *colora,
- const GdkColor *colorb)
+gdk_color_hash (const GdkColor *colora)
{
return ((colora->red) +
(colora->green << 11) +
image->mem = private->ximage->data;
image->bpl = private->ximage->bytes_per_line;
- image->bpp = private->ximage->bits_per_pixel;
+ if (private->ximage->bits_per_pixel <= 8)
+ image->bpp = 1;
+ else if (private->ximage->bits_per_pixel <= 16)
+ image->bpp = 2;
+ else if (private->ximage->bits_per_pixel <= 24)
+ image->bpp = 3;
+ else
+ image->bpp = 4;
image->byte_order = private->ximage->byte_order;
return image;
#include "gtkclist.h"
#include "gtkbindings.h"
#include "gtkdnd.h"
-#include <gdk/gdkx.h>
+#include "gdkx.h"
#include <gdk/gdkkeysyms.h>
/* length of button_actions array */
#include "gtkbindings.h"
#include "gtkmain.h"
#include "gtkdnd.h"
-#include <gdk/gdkx.h>
+#include "gdkx.h"
#include <gdk/gdkkeysyms.h>
#define PM_SIZE 8
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gtkdnd.h"
#include "gtkinvisible.h"
#include <ctype.h>
#include <string.h>
#ifdef USE_XIM
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#endif
#include "gdk/gdkkeysyms.h"
#include "gdk/gdki18n.h"
#include <ctype.h>
#include "gdk/gdk.h"
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gdk/gdkkeysyms.h"
#include "gtkbutton.h"
*/
#include <stdlib.h>
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gtkhandlebox.h"
#include "gtkmain.h"
#include "gtksignal.h"
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gtklayout.h"
#include "gtksignal.h"
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdk/gdkx.h" /* For GDK_WINDOWING */
+#include "gdkx.h" /* For GDK_WINDOWING */
#if GDK_WINDOWING == GDK_WINDOWING_X11
#include <X11/Xlocale.h> /* so we get the right setlocale */
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gdk/gdkkeysyms.h"
#include "gtkplug.h"
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gdk/gdkrgb.h"
#include "gtkpreview.h"
#include "gtksignal.h"
#include "config.h"
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#if GDK_WINDOWING == GDK_WINDOWING_X11
#include <X11/Xlocale.h> /* so we get the right setlocale */
#include <stdarg.h>
#include <string.h>
-#include <gdk/gdkx.h>
+#include "gdkx.h"
/* we need this for gdk_window_lookup() */
#include "gtkmain.h"
#include "gtkselection.h"
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gdk/gdkkeysyms.h"
#include "gtkwindow.h"
#include "gtksignal.h"
#include "gtkthemes.h"
#include "gtkwidget.h"
#include "gtkthemes.h"
-#include "gdk/gdkprivate.h"
+#include "gdkprivate.h"
#define LIGHTNESS_MULT 1.3
#include "gtkbindings.h"
#include "gtkprivate.h"
#include "gdk/gdk.h"
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#define WIDGET_CLASS(w) GTK_WIDGET_CLASS (GTK_OBJECT (w)->klass)
gboolean
gtk_widget_accelerators_locked (GtkWidget *widget)
{
- g_return_if_fail (GTK_IS_WIDGET (widget));
+ g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
return gtk_signal_handler_pending_by_func (GTK_OBJECT (widget),
widget_signals[ADD_ACCELERATOR],
#include <limits.h>
#include "gdk/gdk.h"
#include "gdk/gdkkeysyms.h"
-#include "gdk/gdkx.h"
+#include "gdkx.h"
#include "gtkprivate.h"
#include "gtkrc.h"
#include "gtksignal.h"
#include <math.h>
#include <time.h>
#include "gtk.h"
-#include "../gdk/gdk.h"
-#include "../gdk/gdkx.h"
-#include "../gdk/gdkkeysyms.h"
+#include "gdk/gdk.h"
+#include "gdk/gdkkeysyms.h"
+#include "gdkx.h"
#include "circles.xbm"
#include <math.h>
#include <time.h>
#include "gtk.h"
-#include "../gdk/gdk.h"
-#include "../gdk/gdkx.h"
-#include "../gdk/gdkkeysyms.h"
+#include "gdk/gdk.h"
+#include "gdk/gdkkeysyms.h"
+#include "gdkx.h"
#include "circles.xbm"